package cn.imvc.app.repositories;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import cn.imvc.app.entities.PriceClass;
import cn.imvc.data.jpa.repository.IJpqlExecutor;

public interface PriceClassRepository extends JpaRepository<PriceClass, Integer>,IJpqlExecutor<PriceClass>{

	List<PriceClass> findByCode(String code);

	List<PriceClass> findByName(String name);
	
	List<PriceClass> findByIsDisabledOrderBySort(Byte isDisabled);

	

}
